package com.xiaobai.dish.request;

import com.xiaobai.common.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 菜品图片删除请求参数
 *
 * @author bail
 * @date 2019/12/18.11:17
 */
@ApiModel
@Data
public class DishPicDelReq extends BaseRequest {
    private static final long serialVersionUID = 1L;

    /**
     * 菜品图片
     */
    @ApiModelProperty(value = "菜品图片", example = "/dish/xxx.jpg")
    @NotEmpty
    private String dishPic;

    /**
     * 菜品id
     */
    @ApiModelProperty(value = "菜品id", hidden = true)
    private Long dishId;

    /**
     * 创建人id
     */
    @ApiModelProperty(value = "创建人id", hidden = true)
    private Long createUserId;
}

